#define  _CRT_SECURE_NO_WARNINGS  1
#include <stdio.h>
int my_strlen(char* p)
{
	int i = 0;
	while (*p != '\0')
	{
		i++;
		p++;
	}
	return i;
}
int main()
{
	char a[100] = "abcdefg";

	int len = my_strlen(a);
	printf("%d", len);

	return 0;
}